import './assets/main.scss'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { setupStore } from '@/stores'
import { setupI18n } from '@/i18n'
// 创建实例
const setupAll = async () => {
  const app = createApp(App)
  await setupI18n(app)
  setupStore(app)
  app.use(router)
  app.mount('#app')
}

setupAll()
